
testOptimizations([
	
	['customer.(phone[0].@type == preferred);',
		''],
	
	['a(customer.(phone[0].@type == preferred));',
		'a(customer.(phone[0].@type == preferred));'],
	
	// this could involve getters:
	['a.customer.(phone[0].@type == preferred);',
		'a.customer;']
	
]);
